import request from '@/config/axios'

export const validateModifyPasswordTokenApi = (data: ValidateModifyPasswordTokenRequest) => {
	return request.post<boolean>({
		url: '/system/modify-password/validateToken',
		data
	})
}

export const modifyPasswordApi = (data: ModifyPasswordRequest) => {
	return request.post<boolean>({
		url: '/system/modify-password/modifyPassword',
		data
	})
}
